﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.SignalR;

public class mainPageCtrHub : Hub
{
    public void FlashElement(int id)
    {
        //這邊會傳入name和message參數
        //並且會呼叫所有連線狀態中頁面上的 javascript function => sendAllMessage
        //透過server端呼叫client的javascript function
        Clients.All.flashElement(id);
    }  
}
